﻿<%@ Page Language="C#" MasterPageFile="~/Administrator/Admin.master" AutoEventWireup="true" Inherits="AdminCompanyInfo" Title="Quản trị thông tin công ty" Codebehind="AdminCompanyInfo.aspx.cs" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <script type="text/javascript">
        $(function () {
            $(function () {
                $('#<%=txtNgayThanhLap.ClientID %>').datepicker({ changeYear: true, changeMonth: true });

            });
        });
		</script>
    <h1>
        <asp:Label ID="lbAdminCompanyInfo" runat="server" Text="Thông tin công ty"></asp:Label>
    </h1>
    <div class="accountInfo">
        <table cellspacing="0" cellpadding="0" class="data-table">
            <tbody>
                <tr>
                    <td colspan="2">
                        <span class="failureNotification">
                            <asp:Literal ID="ltrMessage" runat="server"></asp:Literal>
                        </span>
                        <asp:ValidationSummary ID="ThongTinCongTyValidationSummary" runat="server" CssClass="failureNotification"
                            ValidationGroup="ThongTinCongTyGroup" />
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbTenCongTyVN" runat="server">Tên công ty VN:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtTenCongTyVN" runat="server" CssClass="textEntry"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rvTenCongTyVn" runat="server" ErrorMessage="Tên công ty VN không được trống."
                            ControlToValidate="txtTenCongTyVN" Text="*" CssClass="failureNotification" ToolTip="Tên công ty VN không được trống."
                            ValidationGroup="ThongTinCongTyGroup" />
                    </th>
                </tr>
                <tr class="OtherLanguage">
                    <td align="right">
                        <asp:Label ID="lbTenCongTyOther" runat="server">Tên công ty Other:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtTenCongTyOther" runat="server" CssClass="textEntry"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rvTenCongTyOther" runat="server" ControlToValidate="txtTenCongTyOther"
                            ValidationGroup="ThongTinCongTyGroup" CssClass="failureNotification" ErrorMessage="Tên công ty Other không được trống."
                            ToolTip="Tên công ty Other không được trống" Text="*" />
                    </th>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbDiaChiVN" runat="server">Địa chỉ VN:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtDiChiVN" runat="server" CssClass="textEntry"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rvDiaChiVN" runat="server" ControlToValidate="txtDiChiVN"
                            ValidationGroup="ThongTinCongTyGroup" CssClass="failureNotification" ErrorMessage="Địa chỉ VN không được để trống."
                            ToolTip="Địa chỉ VN không được để trống." Text="*" />
                    </th>
                </tr>
                <tr class="OtherLanguage">
                    <td align="right">
                        <asp:Label ID="lbDiaChiOther" runat="server">Địa chỉ Other:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtDiaChiOther" runat="server" CssClass="textEntry"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rvDiaChiOther" runat="server" ControlToValidate="txtDiaChiOther"
                            ValidationGroup="ThongTinCongTyGroup" CssClass="failureNotification" ErrorMessage="Địa chỉ Other không được để trống."
                            ToolTip="Địa chỉ Other không được để trống." Text="*" />
                    </th>
                </tr>

                <tr>
                    <td align="right">
                        <asp:Label ID="lbEmail" runat="server">Email:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtEmail" runat="server" CssClass="textEntry"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rvEmail" runat="server" ControlToValidate="txtEmail"
                            ValidationGroup="ThongTinCongTyGroup" CssClass="failureNotification" ErrorMessage="Email không được để trống."
                            ToolTip="Email không được để trống." Text="*" />
                    </th>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbEmailPassword" runat="server">Email Password:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtEmailPassword" runat="server" CssClass="textEntry" TextMode="Password"></asp:TextBox>
                    </th>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbDienThoai" runat="server">Điện thoại:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtDienThoai" runat="server" CssClass="textEntry"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rvDienThoai" runat="server" ControlToValidate="txtDienThoai"
                            ValidationGroup="ThongTinCongTyGroup" CssClass="failureNotification" ErrorMessage="Điện thoại không được để trống"
                            ToolTip="Điện thoại không được để trống" Text="*" />
                    </th>
                </tr>
                 <tr>
                    <td align="right">
                        <asp:Label ID="lbFax" runat="server">Fax:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtFax" runat="server" CssClass="textEntry"></asp:TextBox>
                    </th>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbDiDong" runat="server">Di động:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtDiDong" runat="server" CssClass="textEntry"></asp:TextBox>
                    </th>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbWebsite" runat="server">Website:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtWebsite" runat="server" CssClass="textEntry"></asp:TextBox>
                    </th>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbSologanVN" runat="server">Sologan VN:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtSologanVN" runat="server" CssClass="textEntry"></asp:TextBox>
                    </th>
                </tr>
                <tr class="OtherLanguage">
                    <td align="right">
                        <asp:Label ID="lbSologanOther" runat="server">Sologan Other:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtSologanOther" runat="server" CssClass="textEntry"></asp:TextBox>
                    </th>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbLogoUrl" runat="server">Logo:</asp:Label>
                    </td>
                    <th>
                        <asp:Image ID="imgLogo" runat="server" Width="150px" Height="150px" />
                    </th>
                </tr>
                <tr>
                    <td align="right">
                    </td>
                    <th>
                        <asp:FileUpload ID="fuPictureUrl" runat="server" CssClass="textEntry" />
                    </th>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbMaSoThue" runat="server">Mã số thuế:</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtMaSoThue" runat="server" CssClass="textEntry"></asp:TextBox>
                    </th>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbTaiKhoan" runat="server">Tài khoản :</asp:Label>
                    </td>
                    <th>
                        <asp:TextBox ID="txtTaiKhoan" runat="server" CssClass="textEntry"></asp:TextBox>
                    </th>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lbMoTaVN" runat="server">Mô tả VN:</asp:Label>
                    </td>
                    <th>
                        <FCKeditorV2:FCKeditor ID="fckMoTaVN" runat="server" Width="99%" Height="400px"
                            BasePath="../fck/fckeditor/">
                        </FCKeditorV2:FCKeditor>
                    </th>
                </tr>
                <tr class="OtherLanguage">
                    <td align="right">
                        <asp:Label ID="lbMoTaOther" runat="server">Mô tả Other:</asp:Label>
                    </td>
                    <th>
                        <FCKeditorV2:FCKeditor ID="fckMoTaOther" runat="server" Width="99%" Height="400px"
                            BasePath="../fck/fckeditor/">
                        </FCKeditorV2:FCKeditor>
                    </th>
                </tr>

                <tr>
                    <td align="right">
                        <asp:Label ID="Label1" runat="server">Footer VN:</asp:Label>
                    </td>
                    <th>
                        <FCKeditorV2:FCKeditor ID="fckFooterVN" runat="server" Width="99%" Height="400px"
                            BasePath="../fck/fckeditor/">
                        </FCKeditorV2:FCKeditor>
                    </th>
                </tr>
                <tr class="OtherLanguage">
                    <td align="right">
                        <asp:Label ID="Label2" runat="server">Footer Other:</asp:Label>
                    </td>
                    <th>
                        <FCKeditorV2:FCKeditor ID="fckFooterOther" runat="server" Width="99%" Height="400px"
                            BasePath="../fck/fckeditor/">
                        </FCKeditorV2:FCKeditor>
                    </th>
                </tr>

                <tr>
                    <td align="right">
                        <asp:Label ID="lnNgayThanhLap" runat="server">Ngày thành lập:</asp:Label>
                    </td>
                    <th>
                       <asp:TextBox ID="txtNgayThanhLap" runat="server" CssClass="textEntry"></asp:TextBox>
                    </th>
                </tr>
                <tr>
                    <td align="right">
                    </td>
                    <th>
                        <asp:Button ID="btnSave" runat="server" Text="Lưu"  Width="200px" CssClass="btn_action"
                            ValidationGroup="ThongTinCongTyGroup" onclick="btnSave_Click" />
                    </th>
                </tr>
            </tbody>
        </table>
    </div>
</asp:Content>
